# Contributor:
# Maintainer:
pkgname=most
pkgver=5.1.0
pkgrel=0
pkgdesc="A terminal pager similar to more and less"
url="http://www.jedsoft.org/most/index.html"
arch=""
license="GPL-2.0-or-later"
makedepends="slang-dev ncurses-dev"
subpackages="$pkgname-doc"
source="https://www.jedsoft.org/releases/most/most-$pkgver.tar.gz"

prepare() {
	default_prepare
	update_config_guess
}

build() {
	./configure --prefix=/usr --sysconfdir=/etc
	make -j1
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="cbc090283bbaafb8ffee9d6d1abc7b49cd58d54b742cf8dc86274351dee6398d1f24841bd1631ac40f861ad9e23569646133d3297317d9d514a7a38dd74533d2  most-5.1.0.tar.gz"
